package com.sunny.thread.synchronizedpack; /**
 * Created by Sunny on 2016/11/16.
 */

/**
 * a2
 *
 * @author sunc
 * @date 2016-11-16-10:27
 */
public class ThreadB2 extends  Thread{

    private HasSelfPrivateNum2 num2;

    public ThreadB2(HasSelfPrivateNum2 num2){
        this.num2 = num2;
    }

    @Override
    public void run() {
        super.run();
        num2.minusI();
    }
}
